(Asshuara’) 26 : 20
قَالَ فَعَلْتُهَا إِذًا وَأَنَا مِنَ الضَّالِّينَ

He replied: "I did it then, while I was among the strayed”.

Before getting Adhikr, Messenger Muhammad was among the heedless as explained in verse 12: 3. And after getting Adhikr, Lord commands Messenger not to be among the heedless as explained in verse 7: 205. See explanation 11: 17 and 20: 121.